<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>商品类别列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/assets/framework/lib/layui-v2.8.17/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/assets/framework/css/public.css}" media="all">
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <!--表工具栏-->
        <script type="text/html" id="toolbar">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-normal layui-btn-sm " lay-event="add"> 添加 </button>
                <button class="layui-btn layui-btn-sm layui-btn-danger " lay-event="delete"> 删除 </button>
                <button class="layui-btn layui-btn-sm  " lay-event="reload"> 刷新 </button>
            </div>
        </script>



        <script type="text/html" id="row-toolbar">
            <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="add">添加</a>
            <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete">删除</a>
        </script>
        <table class="layui-hide" id="tbl" lay-filter="tbl"></table>
    </div>
</div>
<script th:src="@{/assets/framework/lib/layui-v2.8.17/layui.js}" charset="utf-8"></script>
<script th:inline="javascript">
    let ctx = /*[[@{/}]]*/"";
    if (ctx.endsWith("/")){
        ctx = ctx.substring(0,ctx.length-1);
    }
</script>
<script th:src="@{/assets/category/list.js}"></script>
</body>
</html>